﻿using System;

namespace Flux.Mvvm.Messaging
{
	public interface IMessenger
	{
		void Register(Action<object> action);
		void Register(object token, Action<object> action);
		void Send(object message);
		void Send(object token, object message);
		void Unregister();
		void Unregister(object token);
	}
}